﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using LeadThing.AbpZeroTemplate.VideoReceiverses.Dtos;
using LeadThing.AbpZeroTemplate.Dto;

namespace LeadThing.AbpZeroTemplate.VideoReceiverses
{
    /// <summary>
    /// 视频接访服务接口
    /// </summary>
    public interface IVideoReceiversAppService : IApplicationService
    {
        #region 视频接访管理

        /// <summary>
        /// 根据查询条件获取视频接访分页列表
        /// </summary>
        Task<PagedResultDto<VideoReceiversListDto>> GetPagedVideoReceiverssAsync(GetVideoReceiversInput input);

        /// <summary>
        /// 通过Id获取视频接访信息进行编辑或修改 
        /// </summary>
        Task<GetVideoReceiversForEditOutput> GetVideoReceiversForEditAsync(NullableIdDto<long> input);

        /// <summary>
        /// 通过指定id获取视频接访ListDto信息
        /// </summary>
        Task<VideoReceiversListDto> GetVideoReceiversByIdAsync(EntityDto<long> input);



        /// <summary>
        /// 新增或更改视频接访
        /// </summary>
        Task CreateOrUpdateVideoReceiversAsync(CreateOrUpdateVideoReceiversInput input);





        /// <summary>
        /// 新增视频接访
        /// </summary>
        Task<VideoReceiversEditDto> CreateVideoReceiversAsync(VideoReceiversEditDto input);

        /// <summary>
        /// 更新视频接访
        /// </summary>
        Task UpdateVideoReceiversAsync(VideoReceiversEditDto input);

        /// <summary>
        /// 删除视频接访
        /// </summary>
        Task DeleteVideoReceiversAsync(EntityDto<long> input);

        /// <summary>
        /// 批量删除视频接访
        /// </summary>
        Task BatchDeleteVideoReceiversAsync(List<long> input);

        #endregion

        #region Excel导出功能



        /// <summary>
        /// 获取视频接访信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetVideoReceiversToExcel();

        #endregion

    }
}
